import { URL } from "./url";
import req from "./axiosFun";

export const getList = () => {
  return req({ url: `${URL}/bicycle/rents/getList` });
};

export const deleteRent = (params) => {
  return req({ url: `${URL}/bicycle/rents/deleteRent/${params}` });
};

export const getReurunList = () => {
  return req({ url: `${URL}/bicycle/rents/returnList` });
};
